% Z = POLYISZERO(P) Determine whether the polynomial P is zero
%
%   Inputs:
%
%       p       The polynomial to check
%
%   Outputs
%
%       z       True if p is zero, false if p is not

function z = polyIsZero(p)

    z = isempty(find(p > -1));

end
